package Arbore;
import Visitors.Visitor;

public class Frunza extends NodAbstract{
	protected int x;
	
	public Frunza(int x){
		this.x = x;
	}
	
	public void acceptVisitor(Visitor v){
		v.visit(this);
	}
	
	public int getX(){
		return x;
	}
	
	public void setX(int x){
		this.x = x;
	}
	
	public String toString(){
		return " "+x+" ";
	}
}
